package com.java502.shirodemo502.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author:Teacher黄
 * @date:Created at 2019/12/30
 */
@Controller
public class IndexController {


    /**
     * 用户主页
     * @return
     */
    @GetMapping("/index")
    public String index(){
        return "index";
    }

}
